package com.leigang.boot.websocket.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author leigang
 */
@Controller
public class PageController {
    @GetMapping("/socket20")
    public String index() {
        return "chatOne";
    }

    @GetMapping("/socket21")
    public String index2() {
        return "chatTwo";
    }

}
